import { v4 as uuidv4 } from 'uuid';
// 单点登录 
let useId;
export const SET_TEMPID = () => {
    useId = localStorage.getItem('UUTEMPID')
    if (!useId) {
        useId = uuidv4()
        localStorage.setItem('UUTEMPID', useId)
    }
    return useId
}